package cn.gorit.dto.content;

/**
 * @version v1.0
 * @Classname BlogReadDto
 * @Description TODO
 * @Author CodingGorit
 * @Created on 2021/5/8 23:08
 * @IDLE IntelliJ IDEA
 **/
public class BlogReadDto {
    // 博客的唯一 ID
    private String blogId;
    // 文章标题
    private String blogTitle;
    // 文章封面
    private String blogImage;
    // 文章简介
    private String blogDescription;
    // 主体内容
    private String blogContent;
    // 点赞量
    private Integer blogLikes;
    // 阅读量
    private Integer blogRead;
    /**
     * 文章来源，向当于标签，原创，转载，翻译，首发
     */
    private Integer blogSource;
    // 收藏数量
    private Integer blogCollection;
    // 评论数量
    private Integer blogComment;
    // 创建时间
    private String createdTime;
    // 更新时间
    private String updateTime;
    // 文章所有者
    private String userId;
    // 文章所有者的 头像
    private String userAvatar;
    // 文章所有者的昵称
    private String userNickname;

    public BlogReadDto() {
    }

    public String getBlogId() {
        return blogId;
    }

    public void setBlogId(String blogId) {
        this.blogId = blogId;
    }

    public String getBlogTitle() {
        return blogTitle;
    }

    public void setBlogTitle(String blogTitle) {
        this.blogTitle = blogTitle;
    }

    public String getBlogImage() {
        return blogImage;
    }

    public void setBlogImage(String blogImage) {
        this.blogImage = blogImage;
    }

    public String getBlogDescription() {
        return blogDescription;
    }

    public void setBlogDescription(String blogDescription) {
        this.blogDescription = blogDescription;
    }

    public String getBlogContent() {
        return blogContent;
    }

    public void setBlogContent(String blogContent) {
        this.blogContent = blogContent;
    }

    public Integer getBlogLikes() {
        return blogLikes;
    }

    public void setBlogLikes(Integer blogLikes) {
        this.blogLikes = blogLikes;
    }

    public Integer getBlogRead() {
        return blogRead;
    }

    public void setBlogRead(Integer blogRead) {
        this.blogRead = blogRead;
    }

    public Integer getBlogSource() {
        return blogSource;
    }

    public void setBlogSource(Integer blogSource) {
        this.blogSource = blogSource;
    }

    public Integer getBlogCollection() {
        return blogCollection;
    }

    public void setBlogCollection(Integer blogCollection) {
        this.blogCollection = blogCollection;
    }

    public Integer getBlogComment() {
        return blogComment;
    }

    public void setBlogComment(Integer blogComment) {
        this.blogComment = blogComment;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserAvatar() {
        return userAvatar;
    }

    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar;
    }

    public String getUserNickname() {
        return userNickname;
    }

    public void setUserNickname(String userNickname) {
        this.userNickname = userNickname;
    }

    @Override
    public String toString() {
        return "BlogReadDto{" +
                "blogId='" + blogId + '\'' +
                ", blogTitle='" + blogTitle + '\'' +
                ", blogImage='" + blogImage + '\'' +
                ", blogDescription='" + blogDescription + '\'' +
                ", blogContent='" + blogContent + '\'' +
                ", blogLikes=" + blogLikes +
                ", blogRead=" + blogRead +
                ", blogSource=" + blogSource +
                ", blogCollection=" + blogCollection +
                ", blogComment=" + blogComment +
                ", createdTime='" + createdTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", userId='" + userId + '\'' +
                ", userAvatar='" + userAvatar + '\'' +
                ", userNickname='" + userNickname + '\'' +
                '}';
    }
}
